﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SXMeteorological.Data.Utility
{
  public  class RengionCountry
    {
        public Dictionary<string, RegionPro> _regionType = new Dictionary<string, RegionPro>();
        private string publicPath = AppDomain.CurrentDomain.BaseDirectory;
        public RengionCountry()
        {
            //安康
            RegionPro ningshan = new RegionPro();
            ningshan.XMax = 108.940849;
            ningshan.XMin = 108.047302;
            ningshan.YMax = 33.842262;
            ningshan.YMin = 33.123085;
            ningshan.RegionCode = "610923";
            _regionType.Add("宁陕", ningshan);
            ningshan.BlnPath = publicPath + @"boundaryCountry\宁陕县.bln";
            ningshan.ShowCityNameDatPath = publicPath + @"cityDatCountry\宁陕县.dat";

            RegionPro shiquan = new RegionPro();
            shiquan.XMax = 108.479362;
            shiquan.XMin = 108.028633;
            shiquan.YMin = 32.769161;
            shiquan.YMax = 33.331799;
            shiquan.RegionCode = "610922";
            _regionType.Add("石泉", shiquan);
            shiquan.BlnPath = publicPath + @"boundaryCountry\石泉县.bln";
            shiquan.ShowCityNameDatPath = publicPath + @"cityDatCountry\石泉县.dat";


            RegionPro hanyin = new RegionPro();
            hanyin.XMax = 108.721680;
            hanyin.XMin = 108.187469;
            hanyin.YMin = 32.640469;
            hanyin.YMax = 33.154404;
            hanyin.RegionCode = "610921";
            _regionType.Add("汉阴", hanyin);
            hanyin.BlnPath = publicPath + @"boundaryCountry\汉阴县.bln";
            hanyin.ShowCityNameDatPath = publicPath + @"cityDatCountry\汉阴县.dat";

            RegionPro ziyang = new RegionPro();
            ziyang.XMax = 108.694;
            ziyang.XMin = 108.104;
            ziyang.YMin = 32.137;
            ziyang.YMax = 32.812;
            ziyang.RegionCode = "610924";
            _regionType.Add("紫阳", ziyang);
            ziyang.BlnPath = publicPath + @"boundaryCountry\紫阳县.bln";
            ziyang.ShowCityNameDatPath = publicPath + @"cityDatCountry\紫阳县.dat";

            RegionPro xunyang = new RegionPro();
            xunyang.XMax = 109.814087;
            xunyang.XMin = 108.962486;
            xunyang.YMin = 32.484;
            xunyang.YMax = 33.216;
            xunyang.RegionCode = "610928";
            _regionType.Add("旬阳", xunyang);
            xunyang.BlnPath = publicPath + @"boundaryCountry\旬阳县.bln";
            xunyang.ShowCityNameDatPath = publicPath + @"cityDatCountry\旬阳县.dat";

            RegionPro baihe = new RegionPro();
            baihe.XMax = 110.201;
            baihe.XMin = 109.628;
            baihe.YMin = 32.549;
            baihe.YMax = 32.914;
            baihe.RegionCode = "610929";
            _regionType.Add("白河", baihe);
            baihe.BlnPath = publicPath + @"boundaryCountry\白河县.bln";
            baihe.ShowCityNameDatPath = publicPath + @"cityDatCountry\白河县.dat";

            RegionPro pingli = new RegionPro();
            pingli.XMax = 109.560753;
            pingli.XMin = 108.985237;
            pingli.YMin = 31.847694;
            pingli.YMax = 32.631989;
            pingli.RegionCode = "610926";
            _regionType.Add("平利", pingli);
            pingli.BlnPath = publicPath + @"boundaryCountry\平利县.bln";
            pingli.ShowCityNameDatPath = publicPath + @"cityDatCountry\平利县.dat";

            RegionPro zhenping = new RegionPro();
            zhenping.XMax = 109.633;
            zhenping.XMin = 109.192;
            zhenping.YMin = 31.713;
            zhenping.YMax = 32.228;
            zhenping.RegionCode = "610927";
            _regionType.Add("镇坪", zhenping);
            zhenping.BlnPath = publicPath + @"boundaryCountry\镇坪县.bln";
            zhenping.ShowCityNameDatPath = publicPath + @"cityDatCountry\镇坪县.dat";

            RegionPro langao = new RegionPro();
            langao.XMax = 109.175957;
            langao.XMin = 108.626457;
            langao.YMin = 31.932320;
            langao.YMax = 32.533691;
            langao.RegionCode = "610925";
            _regionType.Add("岚皋", langao);
            langao.BlnPath = publicPath + @"boundaryCountry\岚皋县.bln";
            langao.ShowCityNameDatPath = publicPath + @"cityDatCountry\岚皋县.dat";


            ////延安
            RegionPro ansai = new RegionPro();
            ansai.XMax = 109.439651;
            ansai.XMin = 108.850479;
            ansai.YMin = 36.516342;
            ansai.YMax = 37.325832;
            ansai.RegionCode = "610624";
            _regionType.Add("安塞", ansai);
            ansai.BlnPath = publicPath + @"boundaryCountry\安塞县.bln";
            ansai.ShowCityNameDatPath = publicPath + @"cityDatCountry\安塞县.dat";


            RegionPro fuxian = new RegionPro();
            fuxian.XMax = 109.717552;
            fuxian.XMin = 108.496117;
            fuxian.YMin = 35.729729;
            fuxian.YMax = 36.365631;
            fuxian.RegionCode = "610628";
            _regionType.Add("富县", fuxian);
            fuxian.BlnPath = publicPath + @"boundaryCountry\富县.bln";
            fuxian.ShowCityNameDatPath = publicPath + @"cityDatCountry\富县.dat";


            RegionPro ganquan = new RegionPro();
            ganquan.XMax = 109.57;
            ganquan.XMin = 108.761;
            ganquan.YMax = 36.629;
            ganquan.YMin = 36.117;
            ganquan.RegionCode = "610627";
            _regionType.Add("甘泉", ganquan);
            ganquan.BlnPath = publicPath + @"boundaryCountry\甘泉县.bln";
            ganquan.ShowCityNameDatPath = publicPath + @"cityDatCountry\甘泉县.dat";


            RegionPro zichang = new RegionPro();
            zichang.XMax = 110.245;
            zichang.XMin = 109.213;
            zichang.YMin = 36.997;
            zichang.YMax = 37.501;
            zichang.RegionCode = "610623";
            _regionType.Add("子长", zichang);
            zichang.BlnPath = publicPath + @"boundaryCountry\子长县.bln";
            zichang.ShowCityNameDatPath = publicPath + @"cityDatCountry\子长县.dat";

            RegionPro zhidan = new RegionPro();
            zhidan.XMax = 109.059;
            zhidan.XMin = 108.199;
            zhidan.YMin = 36.362;
            zhidan.YMax = 37.194;
            zhidan.RegionCode = "610625";
            _regionType.Add("志丹", zhidan);
            zhidan.BlnPath = publicPath + @"boundaryCountry\志丹县.bln";
            zhidan.ShowCityNameDatPath = publicPath + @"cityDatCountry\志丹县.dat";

            RegionPro yichuan = new RegionPro();
            yichuan.XMax = 110.55;
            yichuan.XMin = 109.7;
            yichuan.YMin = 35.714;
            yichuan.YMax = 36.403;
            yichuan.RegionCode = "610630";
            _regionType.Add("宜川", yichuan);
            yichuan.BlnPath = publicPath + @"boundaryCountry\宜川县.bln";
            yichuan.ShowCityNameDatPath = publicPath + @"cityDatCountry\宜川县.dat";

            RegionPro huanglong = new RegionPro();
            huanglong.XMax = 110.267;
            huanglong.XMin = 109.655;
            huanglong.YMin = 35.412;
            huanglong.YMax = 36.036;
            huanglong.RegionCode = "610631";
            _regionType.Add("黄龙", huanglong);
            huanglong.BlnPath = publicPath + @"boundaryCountry\黄龙县.bln";
            huanglong.ShowCityNameDatPath = publicPath + @"cityDatCountry\黄龙县.dat";

            RegionPro huangling = new RegionPro();
            huangling.XMax = 109.454;
            huangling.XMin = 108.519;
            huangling.YMin = 35.352;
            huangling.YMax = 35.825;
            huangling.RegionCode = "610632";
            _regionType.Add("黄陵", huangling);
            huangling.BlnPath = publicPath + @"boundaryCountry\黄陵县.bln";
            huangling.ShowCityNameDatPath = publicPath + @"cityDatCountry\黄陵县.dat";

            RegionPro luochuan = new RegionPro();
            luochuan.XMax = 109.769;
            luochuan.XMin = 109.308;
            luochuan.YMin = 35.358;
            luochuan.YMax = 36.077;
            luochuan.RegionCode = "610629";
            _regionType.Add("洛川", luochuan);
            luochuan.BlnPath = publicPath + @"boundaryCountry\洛川县.bln";
            luochuan.ShowCityNameDatPath = publicPath + @"cityDatCountry\洛川县.dat";

            RegionPro wuqi = new RegionPro();
            wuqi.XMax = 108.542;
            wuqi.XMin = 107.654;
            wuqi.YMin = 36.561;
            wuqi.YMax = 37.405;
            wuqi.RegionCode = "610626";
            _regionType.Add("吴起", wuqi);
            wuqi.BlnPath = publicPath + @"boundaryCountry\吴起县.bln";
            wuqi.ShowCityNameDatPath = publicPath + @"cityDatCountry\吴起县.dat";

            RegionPro yanchuan = new RegionPro();
            yanchuan.XMax = 110.45;
            yanchuan.XMin = 109.611;
            yanchuan.YMin = 36.63;
            yanchuan.YMax = 37.099;
            yanchuan.RegionCode = "610622";
            _regionType.Add("延川", yanchuan);
            yanchuan.BlnPath = publicPath + @"boundaryCountry\延川县.bln";
            yanchuan.ShowCityNameDatPath = publicPath + @"cityDatCountry\延川县.dat";

            RegionPro yanchang = new RegionPro();
            yanchang.XMax = 110.5;
            yanchang.XMin = 109.694;
            yanchang.YMin = 36.281;
            yanchang.YMax = 36.774;
            yanchang.RegionCode = "610621";
            _regionType.Add("延长", yanchang);
            yanchang.BlnPath = publicPath + @"boundaryCountry\延长县.bln";
            yanchang.ShowCityNameDatPath = publicPath + @"cityDatCountry\延长县.dat";

            ////渭南
            RegionPro baishui = new RegionPro();
            baishui.XMax = 109.769638;
            baishui.XMin = 109.279320;
            baishui.YMin = 35.068520;
            baishui.YMax = 35.451900;
            _regionType.Add("白水", baishui);
            baishui.RegionCode = "610527";
            baishui.BlnPath = publicPath + @"boundaryCountry\白水县.bln";
            baishui.ShowCityNameDatPath = publicPath + @"cityDatCountry\白水县.dat";

            RegionPro chengchen = new RegionPro();
            chengchen.XMax = 110.096642;
            chengchen.XMin = 109.688011;
            chengchen.YMin = 34.931431;
            chengchen.YMax = 35.448284;
            _regionType.Add("澄城", chengchen);
            chengchen.RegionCode = "610525";
            chengchen.BlnPath = publicPath + @"boundaryCountry\澄城县.bln";
            chengchen.ShowCityNameDatPath = publicPath + @"cityDatCountry\澄城县.dat";

            RegionPro dali = new RegionPro();
            dali.XMax = 110.292503;
            dali.XMin = 109.706291;
            dali.YMin = 34.580040;
            dali.YMax = 35.025776;
            _regionType.Add("大荔", dali);
            dali.RegionCode = "610523";
            dali.BlnPath = publicPath + @"boundaryCountry\大荔县.bln";
            dali.ShowCityNameDatPath = publicPath + @"cityDatCountry\大荔县.dat";


            RegionPro fuping = new RegionPro();
            fuping.XMax = 109.437241;
            fuping.XMin = 108.954659;
            fuping.YMin = 34.692814;
            fuping.YMax = 35.117298;
            _regionType.Add("富平", fuping);
            fuping.RegionCode = "610528";
            fuping.BlnPath = publicPath + @"boundaryCountry\富平县.bln";
            fuping.ShowCityNameDatPath = publicPath + @"cityDatCountry\富平县.dat";

            RegionPro pucheng = new RegionPro();
            pucheng.XMax = 109.908;
            pucheng.XMin = 109.338;
            pucheng.YMin = 34.757;
            pucheng.YMax = 35.174;
            _regionType.Add("蒲城", pucheng);
            pucheng.RegionCode = "610526";
            pucheng.BlnPath = publicPath + @"boundaryCountry\蒲城县.bln";
            pucheng.ShowCityNameDatPath = publicPath + @"cityDatCountry\蒲城县.dat";

            RegionPro huaxian = new RegionPro();
            huaxian.XMax = 110.033;
            huaxian.XMin = 109.595;
            huaxian.YMin = 34.213;
            huaxian.YMax = 34.615;
            _regionType.Add("华县", huaxian);
            huaxian.RegionCode = "610521";
            huaxian.BlnPath = publicPath + @"boundaryCountry\华县.bln";
            huaxian.ShowCityNameDatPath = publicPath + @"cityDatCountry\华县.dat";

            RegionPro hancheng = new RegionPro();
            hancheng.XMax = 110.608;
            hancheng.XMin = 110.121;
            hancheng.YMin = 35.317;
            hancheng.YMax = 35.849;
            _regionType.Add("韩城", hancheng);
            hancheng.RegionCode = "610581";
            hancheng.BlnPath = publicPath + @"boundaryCountry\韩城市.bln";
            hancheng.ShowCityNameDatPath = publicPath + @"cityDatCountry\韩城市.dat";

            RegionPro heyang = new RegionPro();
            heyang.XMax = 110.436;
            heyang.XMin = 109.971;
            heyang.YMin = 34.985;
            heyang.YMax = 35.439;
            _regionType.Add("合阳", heyang);
            heyang.RegionCode = "610524";
            heyang.BlnPath = publicPath + @"boundaryCountry\合阳县.bln";
            heyang.ShowCityNameDatPath = publicPath + @"cityDatCountry\合阳县.dat";

            RegionPro huayin = new RegionPro();
            huayin.XMax = 110.205;
            huayin.XMin = 109.877;
            huayin.YMin = 34.372;
            huayin.YMax = 34.674;
            _regionType.Add("华阴", huayin);
            huayin.RegionCode = "610582";
            huayin.BlnPath = publicPath + @"boundaryCountry\华阴市.bln";
            huayin.ShowCityNameDatPath = publicPath + @"cityDatCountry\华阴市.dat";

            RegionPro tongguan = new RegionPro();
            tongguan.XMax = 110.425;
            tongguan.XMin = 110.164;
            tongguan.YMin = 34.397;
            tongguan.YMax = 34.64;
            _regionType.Add("潼关", tongguan);
            tongguan.RegionCode = "610522";
            tongguan.BlnPath = publicPath + @"boundaryCountry\潼关县.bln";
            tongguan.ShowCityNameDatPath = publicPath + @"cityDatCountry\潼关县.dat";

            ////宝鸡
            RegionPro fengxian = new RegionPro();
            fengxian.XMax = 107.118874;
            fengxian.YMax = 34.297886;
            fengxian.XMin = 106.414421;
            fengxian.YMin = 33.577896;
            _regionType.Add("凤县", fengxian);
            fengxian.RegionCode = "610330";
            fengxian.BlnPath = publicPath + @"boundaryCountry\凤县.bln";
            fengxian.ShowCityNameDatPath = publicPath + @"cityDatCountry\凤县.dat";

            RegionPro fengxiang = new RegionPro();
            fengxiang.XMax = 107.650124;
            fengxiang.YMax = 34.772522;
            fengxiang.XMin = 107.178360;
            fengxiang.YMin = 34.346928;
            _regionType.Add("凤翔", fengxiang);
            fengxiang.RegionCode = "610322";
            fengxiang.BlnPath = publicPath + @"boundaryCountry\凤翔县.bln";
            fengxiang.ShowCityNameDatPath = publicPath + @"cityDatCountry\凤翔县.dat";


            RegionPro fufeng = new RegionPro();
            fufeng.XMax = 108.047241;
            fufeng.YMax = 34.618721;
            fufeng.XMin = 107.739929;
            fufeng.YMin = 34.213520;
            _regionType.Add("扶风", fufeng);
            fufeng.RegionCode = "610324";
            fufeng.BlnPath = publicPath + @"boundaryCountry\扶风县.bln";
            fufeng.ShowCityNameDatPath = publicPath + @"cityDatCountry\扶风县.dat";

            RegionPro qishan = new RegionPro();
            qishan.XMax = 107.871;
            qishan.YMax = 34.623;
            qishan.XMin = 107.555;
            qishan.YMin = 34.134;
            _regionType.Add("岐山", qishan);
            qishan.RegionCode = "610323";
            qishan.BlnPath = publicPath + @"boundaryCountry\岐山县.bln";
            qishan.ShowCityNameDatPath = publicPath + @"cityDatCountry\岐山县.dat";

            RegionPro longxian = new RegionPro();
            longxian.XMax = 107.117;
            longxian.YMin = 34.599;
            longxian.XMin = 106.437;
            longxian.YMax = 35.102;
            _regionType.Add("陇县", longxian);
            longxian.RegionCode = "610327";
            longxian.BlnPath = publicPath + @"boundaryCountry\陇县.bln";
            longxian.ShowCityNameDatPath = publicPath + @"cityDatCountry\陇县.dat";


            RegionPro meixian = new RegionPro();
            meixian.XMax = 108.017;
            meixian.YMax = 34.318;
            meixian.XMin = 107.661;
            meixian.YMin = 33.973;
            _regionType.Add("眉县", meixian);
            meixian.RegionCode = "610326";
            meixian.BlnPath = publicPath + @"boundaryCountry\眉县.bln";
            meixian.ShowCityNameDatPath = publicPath + @"cityDatCountry\眉县.dat";

            RegionPro qianyang = new RegionPro();
            qianyang.XMax = 107.373;
            qianyang.YMax = 34.951;
            qianyang.XMin = 106.947;
            qianyang.YMin = 34.561;
            _regionType.Add("千阳", qianyang);
            qianyang.RegionCode = "610328";
            qianyang.BlnPath = publicPath + @"boundaryCountry\千阳县.bln";
            qianyang.ShowCityNameDatPath = publicPath + @"cityDatCountry\千阳县.dat";

            RegionPro linyou = new RegionPro();
            linyou.XMax = 108.022;
            linyou.YMax = 34.972;
            linyou.XMin = 107.334;
            linyou.YMin = 34.556;
            _regionType.Add("麟游", linyou);
            linyou.RegionCode = "610329";
            linyou.BlnPath = publicPath + @"boundaryCountry\麟游县.bln";
            linyou.ShowCityNameDatPath = publicPath + @"cityDatCountry\麟游县.dat";

            RegionPro taibai = new RegionPro();
            taibai.XMax = 107.777;
            taibai.YMax = 34.184;
            taibai.XMin = 107.055;
            taibai.YMin = 33.647;
            _regionType.Add("太白", taibai);
            taibai.RegionCode = "610331";
            taibai.BlnPath = publicPath + @"boundaryCountry\太白县.bln";
            taibai.ShowCityNameDatPath = publicPath + @"cityDatCountry\太白县.dat";

            //////
            ////RegionPro chencang = new RegionPro();
            ////chencang.XMax = 107.777;
            ////chencang.YMax = 34.184;
            ////chencang.XMin = 107.055;
            ////chencang.YMin = 33.647;
            ////_regionType.Add("陈仓区", chencang);
            ////chencang.RegionCode = "610304";
            ////chencang.BlnPath = publicPath + @"boundaryCountry\陈仓区.bln";
            ////chencang.ShowCityNameDatPath = publicPath + @"cityDatCountry\陈仓区.dat";

            ////RegionPro jintai = new RegionPro();
            ////jintai.XMax = 107.777;
            ////jintai.YMax = 34.184;
            ////jintai.XMin = 107.055;
            ////jintai.YMin = 33.647;
            ////_regionType.Add("金台区", jintai);
            ////jintai.RegionCode = "610303";
            ////jintai.BlnPath = publicPath + @"boundaryCountry\金台区.bln";
            ////jintai.ShowCityNameDatPath = publicPath + @"cityDatCountry\金台区.dat";

            ////RegionPro weibin = new RegionPro();
            ////weibin.XMax = 107.777;
            ////weibin.YMax = 34.184;
            ////weibin.XMin = 107.055;
            ////weibin.YMin = 33.647;
            ////_regionType.Add("渭滨区", weibin);
            ////weibin.RegionCode = "610302";
            ////weibin.BlnPath = publicPath + @"boundaryCountry\渭滨区.bln";
            ////weibin.ShowCityNameDatPath = publicPath + @"cityDatCountry\渭滨区.dat";

            ////咸阳市
            RegionPro changwu = new RegionPro();
            changwu.XMax = 107.966;
            changwu.XMin = 107.649;
            changwu.YMax = 35.31;
            changwu.YMin = 35.006;
            _regionType.Add("长武", changwu);
            changwu.RegionCode = "610428";
            changwu.BlnPath = publicPath + @"boundaryCountry\长武县.bln";
            changwu.ShowCityNameDatPath = publicPath + @"cityDatCountry\长武县.dat";

            RegionPro binxian = new RegionPro();
            binxian.XMax = 108.356522;
            binxian.XMin = 107.811523;
            binxian.YMin = 34.840916;
            binxian.YMax = 35.293976;
            _regionType.Add("彬县", binxian);
            binxian.RegionCode = "610427";
            binxian.BlnPath = publicPath + @"boundaryCountry\彬县.bln";
            binxian.ShowCityNameDatPath = publicPath + @"cityDatCountry\彬县.dat";

            RegionPro xunyi = new RegionPro();
            xunyi.XMax = 108.867;
            xunyi.XMin = 108.117;
            xunyi.YMin = 34.959;
            xunyi.YMax = 35.552;
            _regionType.Add("旬邑", xunyi);
            xunyi.RegionCode = "610429";
            xunyi.BlnPath = publicPath + @"boundaryCountry\旬邑县.bln";
            xunyi.ShowCityNameDatPath = publicPath + @"cityDatCountry\旬邑县.dat";

            RegionPro jingyang = new RegionPro();
            jingyang.XMax = 108.923;
            jingyang.XMin = 108.494;
            jingyang.YMax = 34.759;
            jingyang.YMin = 34.445;
            _regionType.Add("泾阳", jingyang);
            jingyang.RegionCode = "610423";
            jingyang.BlnPath = publicPath + @"boundaryCountry\泾阳县.bln";
            jingyang.ShowCityNameDatPath = publicPath + @"cityDatCountry\泾阳县.dat";

            RegionPro sanyuan = new RegionPro();
            sanyuan.XMax = 109.168;
            sanyuan.XMin = 108.776;
            sanyuan.YMin = 34.579;
            sanyuan.YMax = 34.839;
            _regionType.Add("三原", sanyuan);
            sanyuan.RegionCode = "610422";
            sanyuan.BlnPath = publicPath + @"boundaryCountry\三原县.bln";
            sanyuan.ShowCityNameDatPath = publicPath + @"cityDatCountry\三原县.dat";



            RegionPro chunhua = new RegionPro();
            chunhua.XMax = 107.495934;
            chunhua.XMin = 107.038589;
            chunhua.YMin = 32.742767;
            chunhua.YMax = 33.662590;
            _regionType.Add("淳化", chunhua);
            chunhua.RegionCode = "610422";
            chunhua.BlnPath = publicPath + @"boundaryCountry\淳化县.bln";
            chunhua.ShowCityNameDatPath = publicPath + @"cityDatCountry\淳化县.dat";

            RegionPro liquan = new RegionPro();
            liquan.XMax = 108.694;
            liquan.XMin = 108.299;
            liquan.YMin = 34.342;
            liquan.YMax = 34.837;
            liquan.RegionCode = "610425";
            _regionType.Add("礼泉", liquan);
            liquan.BlnPath = publicPath + @"boundaryCountry\礼泉县.bln";
            liquan.ShowCityNameDatPath = publicPath + @"cityDatCountry\礼泉县.dat";


            RegionPro weicheng = new RegionPro();
            weicheng.XMax = 108.694;
            weicheng.XMin = 108.299;
            weicheng.YMin = 34.342;
            weicheng.YMax = 34.837;
            weicheng.RegionCode = "610404";
            _regionType.Add("渭城", weicheng);
            weicheng.BlnPath = publicPath + @"boundaryCountry\渭城县.bln";
            weicheng.ShowCityNameDatPath = publicPath + @"cityDatCountry\渭城县.dat";

            RegionPro yongshou = new RegionPro();
            yongshou.XMax = 108.353;
            yongshou.XMin = 107.945;
            yongshou.YMin = 34.480;
            yongshou.YMax = 34.963;
            yongshou.RegionCode = "610426";
            _regionType.Add("永寿", yongshou);
            yongshou.BlnPath = publicPath + @"boundaryCountry\永寿县.bln";
            yongshou.ShowCityNameDatPath = publicPath + @"cityDatCountry\永寿县.dat";

            RegionPro xingping = new RegionPro();
            xingping.XMax = 108.615;
            xingping.XMin = 108.303;
            xingping.YMin = 34.199;
            xingping.YMax = 34.451;
            xingping.RegionCode = "610481";
            _regionType.Add("兴平", xingping);
            xingping.BlnPath = publicPath + @"boundaryCountry\兴平市.bln";
            xingping.ShowCityNameDatPath = publicPath + @"cityDatCountry\兴平市.dat";

            RegionPro qianxian = new RegionPro();
            qianxian.XMax = 108.401;
            qianxian.XMin = 108.007;
            qianxian.YMin = 34.339;
            qianxian.YMax = 34.745;
            qianxian.RegionCode = "610424";
            _regionType.Add("乾县", qianxian);
            qianxian.BlnPath = publicPath + @"boundaryCountry\乾县.bln";
            qianxian.ShowCityNameDatPath = publicPath + @"cityDatCountry\乾县.dat";

            RegionPro wugong = new RegionPro();
            wugong.XMax = 108.321;
            wugong.XMin = 108.116;
            wugong.YMin = 34.201;
            wugong.YMax = 34.38;
            wugong.RegionCode = "610431";
            _regionType.Add("武功", wugong);
            wugong.BlnPath = publicPath + @"boundaryCountry\武功县.bln";
            wugong.ShowCityNameDatPath = publicPath + @"cityDatCountry\武功县.dat";

            //RegionPro qindu = new RegionPro();
            //qindu.XMax = 108.321;
            //qindu.XMin = 108.116;
            //qindu.YMin = 34.201;
            //qindu.YMax = 34.38;
            //qindu.RegionCode = "610402";
            //_regionType.Add("秦都", qindu);
            //qindu.BlnPath = publicPath + @"boundaryCountry\秦都.bln";
            //qindu.ShowCityNameDatPath = publicPath + @"cityDatCountry\秦都.dat";

            //商洛市
            RegionPro danfeng = new RegionPro();
            danfeng.XMax = 110.803581;
            danfeng.XMin = 110.134583;
            danfeng.YMin = 33.360886;
            danfeng.YMax = 33.953251;
            danfeng.RegionCode = "611022";
            _regionType.Add("丹凤", danfeng);
            danfeng.BlnPath = publicPath + @"boundaryCountry\丹凤县.bln";
            danfeng.ShowCityNameDatPath = publicPath + @"cityDatCountry\丹凤县.dat";

            RegionPro zhenan = new RegionPro();
            zhenan.XMax = 109.611;
            zhenan.XMin = 108.565;
            zhenan.YMin = 33.131;
            zhenan.YMax = 33.7;
            zhenan.RegionCode = "611025";
            _regionType.Add("镇安", zhenan);
            zhenan.BlnPath = publicPath + @"boundaryCountry\镇安县.bln";
            zhenan.ShowCityNameDatPath = publicPath + @"cityDatCountry\镇安县.dat";

            RegionPro zhashui = new RegionPro();
            zhashui.XMax = 109.603;
            zhashui.XMin = 108.829;
            zhashui.YMin = 33.429;
            zhashui.YMax = 33.923;
            zhashui.RegionCode = "611026";
            _regionType.Add("柞水", zhashui);
            zhashui.BlnPath = publicPath + @"boundaryCountry\柞水县.bln";
            zhashui.ShowCityNameDatPath = publicPath + @"cityDatCountry\柞水县.dat";

            RegionPro shangzhou = new RegionPro();
            shangzhou.XMax = 110.248;
            shangzhou.XMin = 109.497;
            shangzhou.YMin = 33.631;
            shangzhou.YMax = 34.191;
            shangzhou.RegionCode = "611002";
            _regionType.Add("商州", shangzhou);
            shangzhou.BlnPath = publicPath + @"boundaryCountry\商州.bln";
            shangzhou.ShowCityNameDatPath = publicPath + @"cityDatCountry\商州市.dat";

            RegionPro shangnan = new RegionPro();
            shangnan.XMax = 111.024;
            shangnan.XMin = 110.399;
            shangnan.YMin = 33.098;
            shangnan.YMax = 33.752;
            shangnan.RegionCode = "611023";
            _regionType.Add("商南", shangnan);
            shangnan.BlnPath = publicPath + @"boundaryCountry\商南县.bln";
            shangnan.ShowCityNameDatPath = publicPath + @"cityDatCountry\商南县.dat";

            RegionPro shanyang = new RegionPro();
            shanyang.XMax = 110.479;
            shanyang.XMin = 109.534;
            shanyang.YMin = 33.161;
            shanyang.YMax = 33.706;
            shanyang.RegionCode = "611024";
            _regionType.Add("山阳", shanyang);
            shanyang.BlnPath = publicPath + @"boundaryCountry\山阳县.bln";
            shanyang.ShowCityNameDatPath = publicPath + @"cityDatCountry\山阳县.dat";

            RegionPro luonan = new RegionPro();
            luonan.XMax = 110.671;
            luonan.XMin = 109.742;
            luonan.YMin = 33.858;
            luonan.YMax = 34.436;
            luonan.RegionCode = "611021";
            _regionType.Add("洛南", luonan);
            luonan.BlnPath = publicPath + @"boundaryCountry\洛南县.bln";
            luonan.ShowCityNameDatPath = publicPath + @"cityDatCountry\洛南县.dat";

            //榆林市
            RegionPro dingbian = new RegionPro();
            dingbian.XMax = 108.381432;
            dingbian.YMax = 37.885712;
            dingbian.XMin = 107.251472;
            dingbian.YMin = 36.816036;
            dingbian.RegionCode = "610825";
            _regionType.Add("定边", dingbian);
            dingbian.BlnPath = publicPath + @"boundaryCountry\定边县.bln";
            dingbian.ShowCityNameDatPath = publicPath + @"cityDatCountry\定边县.dat";

            RegionPro fugu = new RegionPro();
            fugu.XMax = 111.246803;
            fugu.YMax = 39.582336;
            fugu.XMin = 110.368629;
            fugu.YMin = 38.702396;
            fugu.RegionCode = "610822";
            _regionType.Add("府谷", fugu);
            fugu.BlnPath = publicPath + @"boundaryCountry\府谷县.bln";
            fugu.ShowCityNameDatPath = publicPath + @"cityDatCountry\府谷县.dat";

            RegionPro qingjian = new RegionPro();
            qingjian.XMax = 110.651;
            qingjian.YMax = 37.42;
            qingjian.XMin = 109.949;
            qingjian.YMin = 36.959;
            qingjian.RegionCode = "610830";
            _regionType.Add("清涧", qingjian);
            qingjian.BlnPath = publicPath + @"boundaryCountry\清涧县.bln";
            qingjian.ShowCityNameDatPath = publicPath + @"cityDatCountry\清涧县.dat";

            RegionPro jingbian = new RegionPro();
            jingbian.XMax = 109.332;
            jingbian.YMax = 38.024;
            jingbian.XMin = 108.294;
            jingbian.YMin = 36.975;
            jingbian.RegionCode = "610824";
            _regionType.Add("靖边", jingbian);
            jingbian.BlnPath = publicPath + @"boundaryCountry\靖边县.bln";
            jingbian.ShowCityNameDatPath = publicPath + @"cityDatCountry\靖边县.dat";

            RegionPro jiaxian = new RegionPro();
            jiaxian.XMax = 110.751;
            jiaxian.YMax = 38.394;
            jiaxian.XMin = 110.039;
            jiaxian.YMin = 37.694;
            jiaxian.RegionCode = "610824";
            _regionType.Add("佳县", jiaxian);
            jiaxian.BlnPath = publicPath + @"boundaryCountry\佳县.bln";
            jiaxian.ShowCityNameDatPath = publicPath + @"cityDatCountry\佳县.dat";

            RegionPro mizhi = new RegionPro();
            mizhi.XMax = 110.483;
            mizhi.YMax = 38.089;
            mizhi.XMin = 109.818;
            mizhi.YMin = 37.662;
            mizhi.RegionCode = "610827";
            _regionType.Add("米脂", mizhi);
            mizhi.BlnPath = publicPath + @"boundaryCountry\米脂县.bln";
            mizhi.ShowCityNameDatPath = publicPath + @"cityDatCountry\米脂县.dat";

            RegionPro zizhou = new RegionPro();
            zizhou.XMax = 110.134;
            zizhou.YMax = 37.805;
            zizhou.XMin = 109.489;
            zizhou.YMin = 37.257;
            zizhou.RegionCode = "610831";
            _regionType.Add("子洲", zizhou);
            zizhou.BlnPath = publicPath + @"boundaryCountry\子洲县.bln";
            zizhou.ShowCityNameDatPath = publicPath + @"cityDatCountry\子洲县.dat";

            RegionPro hengshan = new RegionPro();
            hengshan.XMax = 110.042;
            hengshan.YMax = 38.247;
            hengshan.XMin = 108.938;
            hengshan.YMin = 37.366;
            hengshan.RegionCode = "610823";
            _regionType.Add("横山", hengshan);
            hengshan.BlnPath = publicPath + @"boundaryCountry\横山县.bln";
            hengshan.ShowCityNameDatPath = publicPath + @"cityDatCountry\横山县.dat";

            RegionPro shenmu = new RegionPro();
            shenmu.XMax = 110.917;
            shenmu.YMax = 39.466;
            shenmu.XMin = 109.674;
            shenmu.YMin = 38.208;
            shenmu.RegionCode = "610821";
            _regionType.Add("神木", shenmu);
            shenmu.BlnPath = publicPath + @"boundaryCountry\神木县.bln";
            shenmu.ShowCityNameDatPath = publicPath + @"cityDatCountry\神木县.dat";

            RegionPro wubao = new RegionPro();
            wubao.XMax = 110.794;
            wubao.YMax = 37.721;
            wubao.XMin = 110.536;
            wubao.YMin = 37.439;
            wubao.RegionCode = "610829";
            _regionType.Add("吴堡", wubao);
            wubao.BlnPath = publicPath + @"boundaryCountry\吴堡县.bln";
            wubao.ShowCityNameDatPath = publicPath + @"cityDatCountry\吴堡县.dat";

            RegionPro suide = new RegionPro();
            suide.XMax = 110.701;
            suide.YMax = 37.753;
            suide.XMin = 110.071;
            suide.YMin = 37.266;
            suide.RegionCode = "610826";
            _regionType.Add("绥德", suide);
            suide.BlnPath = publicPath + @"boundaryCountry\绥德县.bln";
            suide.ShowCityNameDatPath = publicPath + @"cityDatCountry\绥德县.dat";

            //汉中市
            RegionPro foping = new RegionPro();
            foping.XMax = 108.156700;
            foping.YMax = 33.741367;
            foping.XMin = 107.669098;
            foping.YMin = 33.248302;
            foping.RegionCode = "610730";
            _regionType.Add("佛坪", foping);
            foping.BlnPath = publicPath + @"boundaryCountry\佛坪县.bln";
            foping.ShowCityNameDatPath = publicPath + @"cityDatCountry\佛坪县.dat";


            RegionPro chenggu = new RegionPro();
            chenggu.XMax = 107.495934;
            chenggu.XMin = 107.038589;
            chenggu.YMin = 32.742767;
            chenggu.YMax = 33.662590;
            chenggu.RegionCode = "610722";
            _regionType.Add("城固", chenggu);
            chenggu.BlnPath = publicPath + @"boundaryCountry\城固县.bln";
            chenggu.ShowCityNameDatPath = publicPath + @"cityDatCountry\城固县.dat";

            RegionPro nanzhen = new RegionPro();
            nanzhen.XMax = 107.373;
            nanzhen.XMin = 106.513;
            nanzhen.YMin = 32.401;
            nanzhen.YMax = 33.118;
            nanzhen.RegionCode = "610721";
            _regionType.Add("南郑", nanzhen);
            nanzhen.BlnPath = publicPath + @"boundaryCountry\南郑县.bln";
            nanzhen.ShowCityNameDatPath = publicPath + @"cityDatCountry\南郑县.dat";

            RegionPro niqiang = new RegionPro();
            niqiang.XMax = 106.585;
            niqiang.XMin = 105.489;
            niqiang.YMin = 32.616;
            niqiang.YMax = 33.21;
            niqiang.RegionCode = "610726";
            _regionType.Add("宁强", niqiang);
            niqiang.BlnPath = publicPath + @"boundaryCountry\宁强县.bln";
            niqiang.ShowCityNameDatPath = publicPath + @"cityDatCountry\宁强县.dat";

            RegionPro liuba = new RegionPro();
            liuba.XMax = 107.326;
            liuba.XMin = 106.641;
            liuba.YMin = 33.284;
            liuba.YMax = 33.878;
            liuba.RegionCode = "610729";
            _regionType.Add("留坝", liuba);
            liuba.BlnPath = publicPath + @"boundaryCountry\留坝县.bln";
            liuba.ShowCityNameDatPath = publicPath + @"cityDatCountry\留坝县.dat";

            RegionPro zhenba = new RegionPro();
            zhenba.XMax = 108.279;
            zhenba.XMin = 107.43;
            zhenba.YMin = 32.149;
            zhenba.YMax = 32.844;
            zhenba.RegionCode = "610728";
            _regionType.Add("镇巴", zhenba);
            zhenba.BlnPath = publicPath + @"boundaryCountry\镇巴县.bln";
            zhenba.ShowCityNameDatPath = publicPath + @"cityDatCountry\镇巴县.dat";

            RegionPro lveyang = new RegionPro();
            lveyang.XMax = 106.515;
            lveyang.XMin = 105.705;
            lveyang.YMin = 33.114;
            lveyang.YMax = 33.621;
            lveyang.RegionCode = "610727";
            _regionType.Add("略阳", lveyang);
            lveyang.BlnPath = publicPath + @"boundaryCountry\略阳县.bln";
            lveyang.ShowCityNameDatPath = publicPath + @"cityDatCountry\略阳县.dat";

            RegionPro yangxian = new RegionPro();
            yangxian.XMax = 108.043;
            yangxian.XMin = 107.189;
            yangxian.YMin = 33.035;
            yangxian.YMax = 33.713;
            yangxian.RegionCode = "610723";
            _regionType.Add("洋县", yangxian);
            yangxian.BlnPath = publicPath + @"boundaryCountry\洋县.bln";
            yangxian.ShowCityNameDatPath = publicPath + @"cityDatCountry\洋县.dat";

            RegionPro xixiang = new RegionPro();
            xixiang.XMax = 108.258;
            xixiang.XMin = 107.262;
            xixiang.YMin = 32.528;
            xixiang.YMax = 33.238;
            xixiang.RegionCode = "610724";
            _regionType.Add("西乡", xixiang);
            xixiang.BlnPath = publicPath + @"boundaryCountry\西乡县.bln";
            xixiang.ShowCityNameDatPath = publicPath + @"cityDatCountry\西乡县.dat";

            RegionPro mianxian = new RegionPro();
            mianxian.XMax = 106.953;
            mianxian.XMin = 106.347;
            mianxian.YMin = 32.89;
            mianxian.YMax = 33.637;
            mianxian.RegionCode = "610724";
            _regionType.Add("勉县", mianxian);
            mianxian.BlnPath = publicPath + @"boundaryCountry\勉县.bln";
            mianxian.ShowCityNameDatPath = publicPath + @"cityDatCountry\勉县.dat";

            ////
            ////RegionPro hantai = new RegionPro();
            ////hantai.XMax = 106.953;
            ////hantai.XMin = 106.347;
            ////hantai.YMin = 32.89;
            ////hantai.YMax = 33.637;
            ////hantai.RegionCode = "610702";
            ////_regionType.Add("汉台", hantai);
            ////hantai.BlnPath = publicPath + @"boundaryCountry\汉台.bln";
            ////hantai.ShowCityNameDatPath = publicPath + @"cityDatCountry\汉台.dat";

            ////铜川市
            RegionPro yaozhouqu = new RegionPro();
            yaozhouqu.XMax = 109.095;
            yaozhouqu.XMin = 108.582;
            yaozhouqu.YMin = 34.815;
            yaozhouqu.YMax = 35.325;
            yaozhouqu.RegionCode = "610204";
            _regionType.Add("耀州区", yaozhouqu);
            yaozhouqu.BlnPath = publicPath + @"boundaryCountry\耀州区.bln";
            yaozhouqu.ShowCityNameDatPath = publicPath + @"cityDatCountry\耀州区.dat";

            RegionPro yijunxian = new RegionPro();
            yijunxian.XMax = 109.489;
            yijunxian.XMin = 108.918;
            yijunxian.YMin = 35.133;
            yijunxian.YMax = 35.586;
            yijunxian.RegionCode = "610222";
            _regionType.Add("宜君县", yijunxian);
            yijunxian.BlnPath = publicPath + @"boundaryCountry\宜君县.bln";
            yijunxian.ShowCityNameDatPath = publicPath + @"cityDatCountry\宜君县.dat";

            //////
            ////RegionPro yingtaiqu = new RegionPro();
            ////yingtaiqu.XMax = 109.489;
            ////yingtaiqu.XMin = 108.918;
            ////yingtaiqu.YMin = 35.133;
            ////yingtaiqu.YMax = 35.586;
            ////yingtaiqu.RegionCode = "610203";
            ////_regionType.Add("印台区", yingtaiqu);
            ////yingtaiqu.BlnPath = publicPath + @"boundaryCountry\印台区.bln";
            ////yingtaiqu.ShowCityNameDatPath = publicPath + @"cityDatCountry\印台区.dat";

            
            ////RegionPro xinqu = new RegionPro();
            ////xinqu.XMax = 109.489;
            ////xinqu.XMin = 108.918;
            ////xinqu.YMin = 35.133;
            ////xinqu.YMax = 35.586;
            ////xinqu.RegionCode = "610203";
            ////_regionType.Add("新区", xinqu);
            ////xinqu.BlnPath = publicPath + @"boundaryCountry\新区.bln";
            ////xinqu.ShowCityNameDatPath = publicPath + @"cityDatCountry\新区.dat";

            ////RegionPro wangyiqu = new RegionPro();
            ////wangyiqu.XMax = 109.489;
            ////wangyiqu.XMin = 108.918;
            ////wangyiqu.YMin = 35.133;
            ////wangyiqu.YMax = 35.586;
            ////wangyiqu.RegionCode = "610202";
            ////_regionType.Add("王益区", wangyiqu);
            ////wangyiqu.BlnPath = publicPath + @"boundaryCountry\王益区.bln";
            ////wangyiqu.ShowCityNameDatPath = publicPath + @"cityDatCountry\王益区.dat";

            ////西安市
            RegionPro zhouzhi = new RegionPro();
            zhouzhi.XMax = 108.518829;
            zhouzhi.YMax = 34.246765;
            zhouzhi.XMin = 107.663498;
            zhouzhi.YMin = 33.692707;
            zhouzhi.RegionCode = "610124";
            _regionType.Add("周至", zhouzhi);
            zhouzhi.BlnPath = publicPath + @"boundaryCountry\周至县.bln";
            zhouzhi.ShowCityNameDatPath = publicPath + @"cityDatCountry\周至县.dat";

            RegionPro changan = new RegionPro();
            changan.XMax = 109.225;
            changan.YMin = 33.806;
            changan.XMin = 108.641;
            changan.YMax = 34.304;
            changan.RegionCode = "610116";
            _regionType.Add("长安", changan);
            changan.BlnPath = publicPath + @"boundaryCountry\长安区.bln";
            changan.ShowCityNameDatPath = publicPath + @"cityDatCountry\长安区.dat";

            RegionPro lantian = new RegionPro();
            lantian.XMax = 109.816;
            lantian.YMax = 34.339;
            lantian.XMin = 109.12;
            lantian.YMin = 33.841;
            lantian.RegionCode = "610122";
            _regionType.Add("蓝田", lantian);
            lantian.BlnPath = publicPath + @"boundaryCountry\蓝田县.bln";
            lantian.ShowCityNameDatPath = publicPath + @"cityDatCountry\蓝田县.dat";

            RegionPro huxian = new RegionPro();
            huxian.XMax = 108.766;
            huxian.YMax = 34.264;
            huxian.XMin = 108.364;
            huxian.YMin = 33.765;
            huxian.RegionCode = "610125";
            _regionType.Add("户县", huxian);
            huxian.BlnPath = publicPath + @"boundaryCountry\户县.bln";
            huxian.ShowCityNameDatPath = publicPath + @"cityDatCountry\户县.dat";

            RegionPro lintong = new RegionPro();
            lintong.XMax = 109.456;
            lintong.YMax = 34.746;
            lintong.XMin = 109.098;
            lintong.YMin = 34.291;
            lintong.RegionCode = "610115";
            _regionType.Add("临潼", lintong);
            lintong.BlnPath = publicPath + @"boundaryCountry\临潼区.bln";
            lintong.ShowCityNameDatPath = publicPath + @"cityDatCountry\临潼区.dat";

            RegionPro xianshixiaqu = new RegionPro();
            xianshixiaqu.XMax = 109.456;
            xianshixiaqu.YMax = 34.702;
            xianshixiaqu.XMin = 109.274;
            xianshixiaqu.YMin = 34.174;
            xianshixiaqu.RegionCode = "610101";
            _regionType.Add("西安市市辖区", xianshixiaqu);
            xianshixiaqu.BlnPath = publicPath + @"boundaryCountry\西安市市辖区.bln";
            xianshixiaqu.ShowCityNameDatPath = publicPath + @"cityDatCountry\西安市市辖区.dat";

            RegionPro gaoling = new RegionPro();
            gaoling.XMax = 109.172;
            gaoling.YMax = 34.603;
            gaoling.XMin = 108.941;
            gaoling.YMin = 34.428;
            gaoling.RegionCode = "610126";
            _regionType.Add("高陵", gaoling);
            gaoling.BlnPath = publicPath + @"boundaryCountry\高陵县.bln";
            gaoling.ShowCityNameDatPath = publicPath + @"cityDatCountry\高陵县.dat";
            ////
            //RegionPro baqiao = new RegionPro();
            //baqiao.XMax = 109.172;
            //baqiao.YMax = 34.603;
            //baqiao.XMin = 108.941;
            //baqiao.YMin = 34.428;
            //gaoling.RegionCode = "610111";
            //_regionType.Add("灞桥", baqiao);
            //baqiao.BlnPath = publicPath + @"boundaryCountry\灞桥.bln";
            //baqiao.ShowCityNameDatPath = publicPath + @"cityDatCountry\灞桥.dat";

            //RegionPro yanliang = new RegionPro();
            //yanliang.XMax = 109.172;
            //yanliang.YMax = 34.603;
            //yanliang.XMin = 108.941;
            //yanliang.YMin = 34.428;
            //yanliang.RegionCode = "610114";
            //_regionType.Add("阎良", yanliang);
            //yanliang.BlnPath = publicPath + @"boundaryCountry\阎良.bln";
            //yanliang.ShowCityNameDatPath = publicPath + @"cityDatCountry\阎良.dat";


        }
    }
}
